import request from '../../utils/request'

export function initDaily(page) {
  return request({
    url: '/daliy/get/'+page,
    method: 'get'
  })
}

export function add(daliy) {
  return request({
    url: '/daliy/add',
    method: 'post',
    data: daliy
  })
}

export function update(daliy) {
  return request({
    url: '/daliy/update',
    method: 'post',
    data: daliy
  })
}

export function del(id) {
  return request({
    url: '/daliy/del/'+id,
    method: 'delete'
  })
}
